package com.acoffee.java1;

import com.acoffee.java1.Chinese;

/**
 * @author acoffee
 * @create 2021-11-10 17:04
 */
public class StaticPersonFactory {

    public static Person createPerson(){
        return new Chinese();
    }

    public Person createAmerican(){
        return new American();
    }
}
